package com.ml.mall.consts;

/**
 * Created by kyyang on 2021/1/21 13:10
 */
public class PermissionsConst {

    //用户相关
    public static final String P_ACC_USER_NEW = "sys:user:new";
    public static final String P_ACC_USER_QUERY = "sys:user:query";
    public static final String P_ACC_USER_EDIT_INFO = "sys:user:edit:info";
    public static final String P_ACC_USER_EDIT_REPWD = "sys:user:edit:repwd";
    public static final String P_ACC_USER_EDIT_PWD = "sys:user:edit:pwd";

    //仪表盘
    public static final String DASHBOARD_ADMIN_QUERY  = "/dashboard/admin";
    public static final String DASHBOARD_AGENT_QUERY  = "/dashboard/agent";
    public static final String DASHBOARD_MASTERDEALER_QUERY  = "/dashboard/masterdealer";
    public static final String DASHBOARD_DEALER_QUERY  = "/dashboard/dealer";

    //目录
    public static final String CATGORY_QUERY  = "/category/query";
    public static final String CATGORY_EDIT  = "/category/edit";
    public static final String CATGORY_NEW  = "/category/new";

    //产品
    public static final String PRODUCT_QUERY  = "/product/query";
    public static final String PRODUCT_EDIT  = "/product/edit";
    public static final String PRODUCT_NEW  = "/product/new";

    //主经销商目录
    public static final String DEALER_CATGORY_QUERY  = "/dealer_category/query";
    public static final String DEALER_CATGORY_EDIT  = "/dealer_category/edit";
    //主经销商产品
    public static final String DEALER_PRODUCT_QUERY  = "/dealer_product/query";
    public static final String DEALER_PRODUCT_EDIT  = "/dealer_product/edit";



    //订单
    public static final String ORDER_QUERY  = "/order/query";
    public static final String ORDER_EDIT   = "/order/edit";


    //发票
    public static final String INVOICE_QUERY  = "/order/invoice/query";

    //经销商
    public static final String DEALER_QUERY  = "/dealer/query";
    public static final String DEALER_EDIT  = "/dealer/edit";
    public static final String DEALER_NEW  = "/dealer/new";
    public static final String DEALER_QUERY_ALL_MASTER  = "/dealer/query_master";

    //分析报告
    public static final String REPORT_ADMIN_QUERY  = "/reports/admin";
    public static final String REPORT_MASTERDEALER_QUERY  = "/reports/master_dealer";
    public static final String REPORT_MASTERDEALER_SALES_QUERY  = "/report/master_dealer/sales";

    //操作日志查询
    public static final String ACTIVICY_LOG_QUERY  = "/operation_log/query";

    //公司档案查询
    public static final String COMPANY_QUERY  = "/dealer/query";
    public static final String COMPANY_EDIT  = "/dealer/edit";

    //我的订单
    public static final String MY_ORDER_QUERY  = "/order/query";

    //商店
    public static final String SHOP_CATEFORY_QUERY  = "/category/query";
    public static final String SHOP_PRODUCT_QUERY  =  "/product/query";
    public static final String SHOP_ORDER_CATEGORY_QUERY  =  "/dealer_category/query";
    public static final String SHOP_ORDER_PRODUCT_QUERY  =  "/dealer_product/query";
    public static final String SHOP_ORDERCART_ADD  =  "/order/addtocart";
    public static final String SHOP_ORDERCART_QUERY  =  "/order/querycart";
    public static final String SHOP_ORDERCART_EDIT  =  "/order/editcart";
    public static final String SHOP_ORDER_NEW        =  "/order/new";


}
